package stu2;

public class Student {
    int sNo;
    int grade;
    int score;

    public Student(int sNo, int grade, int score) {
        this.sNo = sNo;
        this.grade = grade;
        this.score = score;
    }

    public Student() {
    }

    public void printInfo(){
        System.out.println("学号---"+sNo+";年级="+grade+";成绩="+score);
    }


}
